package org.springblade.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
/**
 * 项目人力计划
 */
@Data
@TableName("blade_pm_manpower_plan")
@EqualsAndHashCode
public class ManpowerPlan implements Serializable{

	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键id")
	private Integer id;
	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "项目id")
	private Integer	projectId;
	/**
	 * 岗位
	 */
	@ApiModelProperty(value = "岗位")
	private Integer userPost;
	/**
	 * 人数
	 */
	@ApiModelProperty(value = "人数")
	private Integer persons;
	/**
	 * 预计人力
	 */
	@ApiModelProperty(value = "预计人力")
	private Float planManpower;
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
	private Integer createUser;


}
